/**
 * Created by zxx on 2015-9-29.
 */

function UserInfo(){
    var soap = new HWSOAP("./login/logininfo.do");
    soap.send({});
    var oResult = soap.getResult();
    this.userName = oResult.username; //用户名
    this.userDept = oResult.userdept; //部门名称
    this.userID = oResult.userid; //用户id
    this.userDeptID = oResult.userdeptid; //部门id
    this.userDeptPath = oResult.userdeptpath; //部门全路径
    this.userDeptDM = oResult.userdeptdm; //部门代码
    this.userDeptType = oResult.userdepttypename;//部门类型
    this.userDeptTypeID = oResult.userdepttype;//部门类型ID
    this.userOrg = oResult.userorgname; //单位名称
    this.userOrgID = oResult.userorgid; //单位id
    this.userOrgSimpleName = oResult.userorgsimplename; //单位名称简写
    this.userOrgDM = oResult.userorgdm; //单位代码
    this.sessionID = oResult.hwsessionid;
    this.isJu = oResult.isju; //是否为局用户
    this.isSuperUser = oResult.isSuperUser //是否是超级用户
    this.handArea = oResult.handarea; //处理防区名称
    this.handAreaId = oResult.handareaid; //处理防区id
};

